<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/6/5
 * Time: 11:15
 */

namespace app\Validate;


class TradeHallValidate extends BaseValidate {
    protected $rule = [
        'product_id' => 'require|number',
        'position_code' => 'require',
        'area_id' => 'require|number',
        'line' => 'require|number|gt:0',
        'row' => 'require|number|gt:0',

    ];
    protected $message = [
        'product_id' => '请选择商品',
        'position_code' => '设置位置编码',
        'area_id' => '请选择区域',
        'line' => '请选择对应的行',
        'row' => '请选择对应的列',
    ];
}